/**
 * 
 */
package com.mooer.bean;

import java.io.Serializable;

/**
 * 评论Bean
 * @author Minglong.Yu
 * @version 1.0 
 * @created May 3, 2011 10:58:47 AM
 */
public class Comment implements Serializable{
	private int id;
	/**
	 * 发表评论的用户
	 */
	private User user;
	/**
	 * 评论的商家
	 */
	private Shop shop;
	/**
	 * 评论标题 
	 */
	private String title;
	/**
	 * 评论内容
	 */
	private String content;
	/**
	 * 人数
	 */
	private int people;
	/**
	 * 花费
	 */
	private float cost;
	/**
	 * 综合评分
	 */
	private float rating;
	/**
	 * 口味评分 
	 */
	private float rating_taste;
	/**
	 * 环境评分
	 */
	private float rating_env;
	/**
	 * 服务评分
	 */
	private float rating_service;
	
	/**
	 * 日期
	 */
	private String date;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Shop getShop() {
		return shop;
	}
	public void setShop(Shop shop) {
		this.shop = shop;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public float getRating() {
		return rating;
	}
	public void setRating(float rating) {
		this.rating = rating;
	}
	/**
	 * @return the people
	 */
	public int getPeople() {
		return people;
	}
	/**
	 * @param people the people to set
	 */
	public void setPeople(int people) {
		this.people = people;
	}
	/**
	 * @return the cost
	 */
	public float getCost() {
		return cost;
	}
	/**
	 * @param cost the cost to set
	 */
	public void setCost(float cost) {
		this.cost = cost;
	}
	/**
	 * @return the rating_taste
	 */
	public float getRating_taste() {
		return rating_taste;
	}
	/**
	 * @param rating_taste the rating_taste to set
	 */
	public void setRating_taste(float rating_taste) {
		this.rating_taste = rating_taste;
	}
	/**
	 * @return the rating_env
	 */
	public float getRating_env() {
		return rating_env;
	}
	/**
	 * @param rating_env the rating_env to set
	 */
	public void setRating_env(float rating_env) {
		this.rating_env = rating_env;
	}
	/**
	 * @return the rating_service
	 */
	public float getRating_service() {
		return rating_service;
	}
	/**
	 * @param rating_service the rating_service to set
	 */
	public void setRating_service(float rating_service) {
		this.rating_service = rating_service;
	}
	/**
	 * @return the date
	 */
	public String getDate() {
		return date;
	}
	/**
	 * @param date the date to set
	 */
	public void setDate(String date) {
		this.date = date;
	}
	
}
